package com.cskaoyan.bean.zhao_order_bean;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * <h3>market</h3>
 *
 * @author:Zhao
 * @date:2021-10-19 18:28:03
 * @description:
 */
@Data
public class ChannelVO {

    private static final List<ChannelCompony> channelList;

    static {
        channelList = new ArrayList<ChannelCompony>();
        channelList.add(new ChannelCompony("ZTO", "中通快递"));
        channelList.add(new ChannelCompony("YTO", "圆通快递"));
        channelList.add(new ChannelCompony("YD", "韵达快递"));
        channelList.add(new ChannelCompony("YZPY", "邮政快递包裹"));
        channelList.add(new ChannelCompony("EMS", "EMS"));
    }

    public static List<ChannelCompony> getChannelList() {
        return channelList;
    }

    @Data
    private static class ChannelCompony {
        String code;
        String name;

        public ChannelCompony() {
        }

        public ChannelCompony(String code, String name) {
            this.code = code;
            this.name = name;
        }
    }
}
